/****************************************************************************
**
** This file is part of the Qmmander Filemanager.
**
** Copyright (C) Alex Skoruppa 2009-2011
** All rights reserved.
**
** NetworkResource stores information about a resource in a windows network.
**
** Qmmander is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Qmmander is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with Qmmander.  If not, see <http://www.gnu.org/licenses/>.
**
****************************************************************************/
#ifndef NETWORKRESOURCE_H
#define NETWORKRESOURCE_H

#include <QString>
#include <windows.h>
#include <winnetwk.h>

class NetworkResource
{
public:
    NetworkResource();
    NetworkResource(const NETRESOURCE& netResource);
    operator const NETRESOURCE&();

    QString getDisplayName();

    NETRESOURCE networkResource_;
    QString localName_;
    QString remoteName_;
    QString comment_;
    QString provider_;
};

#endif // NETWORKRESOURCE_H
